﻿using System;

namespace Cpu6502.Opcodes
{
    public class PHP : Opcode
    {
        public PHP()
        {
            this.CpuCycles = 3;
            this.AddressType = CPU.AddressType.Implied;
        }

        public override void Execute()
        {
            CPU.Stack.Push(CPU.Registers.P.Value);
        }
    }
}
